<%@ page import="com.mysql.cj.util.StringUtils" %><%--
  Created by IntelliJ IDEA.
  User: zhaoYuFei
  Date: 2023/7/14
  Time: 10:38
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false"%>
<html>
<head>
    <title>习题录入系统</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <!-- 引入chart -->
    <script src="http://code.highcharts.com/highcharts.js"></script>
    <!-- 新 Bootstrap 核心 CSS 文件 -->
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
</head>
<% String username = (String) session.getAttribute("username");
    if (StringUtils.isNullOrEmpty(username)) {
        request.getRequestDispatcher("login.jsp").forward(request, response);
    }%>
<body>
<jsp:include page="top.jsp"/>
<div class="container-fluid">
    <div class="row">
        <!-- 左边内容 -->
        <jsp:include page="left.jsp"/>
        <!--右边内容-->
        <div class="col-sm-10">
            <div id="container"
                 style="width: 550px; height: 50px; margin: 0 auto"></div>

            <div style="height: 300px; width: 50%;">
                <canvas id="chartjs-pie-chart">



                </canvas>
            </div>
        </div>
    </div>
</div>
</body>
<style>
</style>
</html>
